package com.yunkaweilai.android.view.home;

import android.app.Activity;
import android.view.View;
import android.widget.ListView;

import com.yunkaweilai.android.R;
import com.yunkaweilai.android.model.CountIncomeBean;

/**
 * 热销产品顶部布局
 */
public class CountTopListHead extends AbsHeaderView<CountIncomeBean.DataBean>{

    public CountTopListHead(Activity activity) {
        super(activity);
    }

    @Override
    protected void getView(CountIncomeBean.DataBean dataBean, ListView listView) {
        View view = mInflate.inflate(R.layout.top_list_head, listView, false);
        listView.addHeaderView(view);
    }
}
